<template>
  <div class="container-page-2">
    <div class="list">
      <itemStatus />
    </div>
    <div class="list">
      <itemtitle title="收货信息" />
      <itemAddressInfo />
    </div>
    <div class="list">
      <itemtitle title="订单信息" />
      <itemInfo />
      <itemInfoOther />
    </div>
    <div class="serveBtn"><img src="@/assets/serve-icon.png" alt=""><span>客户服务</span></div>
    <div class="list">
      <itemInfoOrder />
    </div>
  </div>
</template>

<script>
import itemStatus from '@/components/status'
import itemtitle from '@/components/item/item-title'
import itemAddressInfo from '@/components/item/item-addressinfo'
import itemInfo from '@/components/list'
import itemInfoOther from '@/components/item/other-info'
import itemInfoOrder from '@/components/item/item-order-info'
export default {
  components: {
    itemStatus,
    itemtitle,
    itemAddressInfo,
    itemInfo,
    itemInfoOther,
    itemInfoOrder
  }
}
</script>

<style lang="less">
.container-page-2 {
  width: 100%;
  padding: 1vw 4vw 1vw;
  background: #f5f6f8;
  box-sizing: border-box;
  .list {
    width: 100%;
    background: #fff;
    padding: 5px 0;
    box-sizing: border-box;
    border-radius: 6px;
    margin-bottom: 10px;
        .pic {
      width: 80px;
      height: 80px;
      overflow: hidden;
      img {
        width: 100%;
      }
    }
    .orderList {
      width: 100%;
      .state {
        border-bottom: 1px solid;
        text-align: right;
        color: #d63a54;
        padding: 2px 5px;
      }
    }
    .weight {
      color: #999999;
      font-size: 14px;
      padding-top: 5px;
    }
    .num {
      text-align: right;
      padding-top: 40px;
    }
    .all {
      // margin-top: 3px;
      display: flex;
      justify-content: space-around;
      border-bottom: 1px solid #e5e5e5;
      padding: 10px;
    }
  }
  .total {
    // padding: 10px 0;
    font-size: 14px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    .cost {
      text-align: right;
      display: block;
    }
    .cancel-btn {
      padding: 5px;
      box-sizing: border-box;
      border: 1px solid #999;
      text-align: center;
      font-size: 12px;
      color: #999;
    }
    .ok-btn {
      padding: 5px 15px;
      box-sizing: border-box;
      border: 1px solid #d63a54;
      text-align: center;
      font-size: 12px;
      color: #d63a54;
    }
  }
   .serveBtn{
      width: 100%;
      margin: 0 auto 10px;
      padding: 10px 0;
      text-align: center;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      span{
          padding-left: 5px;
          font-size: 16px;
      }
  }

}
</style>
